import random
import struct
fd = open("data.bin",'wb')
for i in range(0,1440):
    temp = random.uniform(30, 60)
    fd.write(struct.pack('f',temp))
    print temp

fd.close()    